package com.runshu.newsmartark.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Demo class
 *
 * @author yu
 * @date 12/2/20
 * @decs：
 */

public class ProDetailEntity {


    /**
     * productName : reprehenderit mollit proident cillum ipsum
     * productModel : ipsum dolore
     * manufacturer : occaecat dolor do aliquip
     * productDetailList : [{"serialNo":"culpa Excepteur proident ex pariatur","batchNo":"Lorem dolor fugiat exercitation cupidatat","validPeriodDate":"fugiat laboris","hwName":"dolor Lorem Excepteur ullamco"},{"serialNo":"aute mollit minim laboris pariatur","batchNo":"fugiat sunt irure est","validPeriodDate":"proident aliquip cillum dolor","hwName":"officia ipsum"},{"serialNo":"in mollit et","batchNo":"deserunt","validPeriodDate":"ad officia adipisicing","hwName":"non esse consequat"},{"serialNo":"cillum ipsum in","batchNo":"sunt eiusmod deserunt in adipisicing","validPeriodDate":"labore voluptate occaecat Excepteur","hwName":"minim tempor exercitation"},{"serialNo":"dolore cillum velit","batchNo":"do cupidatat non ullamco eiusmod","validPeriodDate":"ea proident","hwName":"officia sed eiusmod"}]
     */
    private String productName;
    private String productModel;
    private String manufacturer;
    private String productNum;

    private List<ProductDetailListBean> productDetailList;

    public String getProductName() {
        return productName == null ? "" : productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? "" : productName;
    }

    public String getProductModel() {
        return productModel == null ? "" : productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel == null ? "" : productModel;
    }

    public String getManufacturer() {
        return manufacturer == null ? "" : manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? "" : manufacturer;
    }

    public String getProductNum() {
        return productNum == null ? "" : productNum;
    }

    public void setProductNum(String productNum) {
        this.productNum = productNum == null ? "" : productNum;
    }

    public List<ProductDetailListBean> getProductDetailList() {
        if (productDetailList == null) {
            return new ArrayList<>();
        }
        return productDetailList;
    }

    public void setProductDetailList(List<ProductDetailListBean> productDetailList) {
        this.productDetailList = productDetailList;
    }

    public static class ProductDetailListBean {
        /**
         * serialNo : culpa Excepteur proident ex pariatur
         * batchNo : Lorem dolor fugiat exercitation cupidatat
         * validPeriodDate : fugiat laboris
         * hwName : dolor Lorem Excepteur ullamco
         */

        private String serialNo;
        private String batchNo;
        private String periodDate;
        private String hwName;
        private int proType;

        public int getProType() {
            return proType;
        }

        public void setProType(int proType) {
            this.proType = proType;
        }

        public String getSerialNo() {
            return serialNo == null ? "" : serialNo;
        }

        public void setSerialNo(String serialNo) {
            this.serialNo = serialNo == null ? "" : serialNo;
        }

        public String getBatchNo() {
            return batchNo == null ? "" : batchNo;
        }

        public void setBatchNo(String batchNo) {
            this.batchNo = batchNo == null ? "" : batchNo;
        }

        public String getPeriodDate() {
            return periodDate == null ? "" : periodDate;
        }

        public void setPeriodDate(String periodDate) {
            this.periodDate = periodDate == null ? "" : periodDate;
        }

        public String getHwName() {
            return hwName == null ? "" : hwName;
        }

        public void setHwName(String hwName) {
            this.hwName = hwName == null ? "" : hwName;
        }
    }
}